<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
    />
    <link rel="stylesheet" href="font/iconfont.css" />
    <link rel="stylesheet" href="css/index.css" />
    <script>
      window.onload = function() {
        /*720代表设计师给的设计稿的宽度，你的设计稿是多少，就写多少;100代表换算比例，这里写100是
                               为了以后好算,比如，你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/
        getRem(750, 100);
      };
      window.onresize = function() {
        getRem(750, 100);
      };
      function getRem(pwidth, prem) {
        var html = document.getElementsByTagName('html')[0];
        var oWidth =
          document.body.clientWidth || document.documentElement.clientWidth;
        html.style.fontSize = (oWidth / pwidth) * prem + 'px';
      }
    </script>
  </head>
  <body>
    <section>
      <aside>
        <p><a class="iconfont icon-jiantou-copy"></a></p>
        <img src="img/衣服.gif" alt="" />
      </aside>
      <nav>
        <h1>NANAWANG</h1>
        <h3>情色少女蓝色卫衣</h3>
        <p>￥299</p>
      </nav>
      <article>
        <figure>
          <a
            class="iconfont icon-shoucang
          "
          ></a>
          <figcaption>
            <em>收藏</em>
          </figcaption>
        </figure>
        <figure>
          <a class="iconfont icon-shipin"></a>
          <figcaption>
            <em>视频</em>
          </figcaption>
        </figure>
        <figure>
          <a class="iconfont icon-fenxiang"></a>
          <figcaption>
            <em>分享</em>
          </figcaption>
        </figure>
      </article>
      <header>
        <img src="img/nvs.gif" alt="" />
      </header>
    </section>
    <footer>
      <figure>
        <a class="iconfont icon-iconfontzhizuobiaozhunbduan36"></a>
        <figcaption>
          <em>朋友圈</em>
        </figcaption>
      </figure>
      <figure>
        <a class="iconfont icon-weixin1"></a>
        <figcaption>
          <em>微信</em>
        </figcaption>
      </figure>
      <figure>
        <a class="iconfont icon-weibo"></a>
        <figcaption>
          <em>微博</em>
        </figcaption>
      </figure>
      <figure>
        <a class="iconfont icon-qq"></a>
        <figcaption>
          <em>QQ</em>
        </figcaption>
      </figure>
    </footer>
    <div class="qu">取消</div>
  </body>
</html>
